home *** CD-ROM | disk | FTP | other *** search
/ Zoom 1 / Zoom (1995)(Active Software, Ground Zero).iso / mainlibrary / d216a.dms / d216a.adf / InstallScript < prev   
Text File  |  1992-09-02  |  3KB  |  112 lines

  1. echo "*Ec*NACTIVE SOFTWARE"
  2. echo "Man on the Moon"
  3.  
  4.  
  5. FailAt 21
  6. assign FSc: "moon 1:c"
  7.  
  8. echo "*NBecause of the size of this demo, it has been split into numerous"
  9. echo "parts.  We are now going to copy all the files to your hard-disk"
  10. echo "where they will then be extracted."
  11. echo "You will need at least 6.5 megs of disk space free on your hard drive,"
  12. ask "*N*NIs this what you want to do? (Type 'Y' for yes)"
  13. If NOT WARN
  14.   echo "*N Exiting..."
  15.   Skip Exit
  16. EndIf
  17.  
  18. echo "*N First we need to know where to install the program.  Be sure there is"
  19. echo "6.5 megs free on the drive you choose.  Please type the name of the disk"
  20. echo "you wish to install to: " NOLINE
  21.  
  22. assign > NIL: FStmp: ?
  23. assign > NIL: FStmp: exists
  24. If WARN
  25.   Skip usage
  26. EndIf
  27.  
  28. cd FStmp:
  29. echo "*NYou selected the device: " NOLINE
  30. cd
  31. echo "*NWe can create a drawer for the demo files, or place them"
  32. echo "directly in the above directory.  Would you like to place all"
  33. ask "the files directly in the selected directory? (y/N) "
  34. If NOT WARN
  35.   echo "*NCreating a new directory named MOON"
  36.   Makedir MOON >NIL:
  37.   If WARN
  38.     echo "*N*"MOON*" already exists there. Do you want to overwrite "
  39.     ask "any files and continue with this installation? (Type 'Y' for YES)"
  40.     If NOT WARN
  41.       ask "    (return to exit)"
  42.       Skip exit
  43.     EndIf
  44.   EndIf
  45.   echo "*NDo you want the nice Magic-Workbench style icons"
  46.   ask "for the drawers? (Type 'Y' for yes)"
  47.   if NOT WARN
  48.     if NOT exists FStmp:MOON.info
  49.    copy FSc:MOON.info ""
  50.     endif
  51.     copy FSc:Man_on_Moon.faculty.info fstmp:MOON/
  52.   else
  53.     copy FSc:MWB.info ACTIVE.INFO
  54.     copy FSc:Man_on_Moon.faculty.MWB.info fstmp:Man_on_Moon.Faculty.info
  55.   Endif
  56.   cd FStmp:MOON
  57. endIf
  58.  
  59. echo "Please DO NOT interrupt this procedure"
  60. echo "Copying files from disk 1"
  61.  
  62. copy "MOON 1:demo.1" "" >NIL:
  63.  
  64. echo "Copying files from disk 2"
  65.  
  66. join demo.1 "MOON 2:demo.2" to demo2a >NIL:
  67. if WARN
  68.     SKIP failed
  69. endif
  70. delete >NIL: demo.1
  71.  
  72.  
  73. echo "Copying files from disk 3"
  74. join demo2a "MOON 3:demo.3" to demo3a >NIL:
  75. if WARN
  76.     SKIP failed
  77. endif    
  78. delete >NIL: demo2a
  79.  
  80. echo "Copying files from disk 4"
  81.  
  82. join demo3a "MOON 4:demo.4" to unpack.me.mom >NIL:
  83. if WARN
  84.     SKIP failed
  85. endif    
  86. delete >NIL: demo3a
  87.  
  88. unpack.me.mom
  89. delete >NIL: unpack.me.mom
  90.  
  91. ask "*NInstallation complete. (return to exit)"
  92. SKIP exit
  93.  
  94. LAB usage
  95. echo "*NSorry that drive is not a valid drive, please check the name"
  96. FSc:ask " and run the install again...    (return to exit)"
  97. Skip exit
  98.  
  99. LAB failed
  100. echo "*NInstallation FAILED!!!  "
  101. echo "*NThis COULD be because you don't have enough space on the"
  102. echo "hard disk, or you may have cancelled halfway through.  Check "
  103. echo "the available space and try again."
  104. ask "*N   (Press return to exit)"
  105.  
  106. LAB exit
  107. assign FSc:
  108. assign FStmp:
  109. EndCLI > NIL:
  110.  
  111.  
  112.